pp108 : separator Property

separator Property


String that denotes whether the menu item is used as a separator.

Syntax

HTML

<div  separator=sValue>
...
</div>

Scripting

menuItemID.separator [ =sValue ]


Parameters

Parameter

Description

sValue

String that denotes whether the shortcut menu item is a separator or not.true- Menu item is a separator.false- Menu item is not a separator.


Example


The following example defines a separator between three shortcut menu items.

<!-- Context menu definition inside the BODY tag -->
<div cordysType = ="wcp.library.ui.ContextMenu "id="item">
    <div id="new">New Item</div>
    <div id="save">Save Item</div>
    <div separator="true"></div>
    <div id="delete">Delete Item</div>
</div>

See Also


contextmenu